fix a crash from ghostscreenedges
--when recreating the dock/panel because of visibility mode changes sometimes there was a crash because of the timers for the workaround of isVisible() changes