Fix Goto repainting of JoshEdit