[patch] Kill polish timer if no windows are visible

The polish will be run next time the window is exposed.