Temporary fix for Tk bug