Fix Tk #26

See https://github.com/JuliaLang/Tk.jl/issues/26