Patched Tk file based on version 8.6.6