[Bug 10108] window drawing and refreshing irregularity