pls add comment regarding why this added block is needed.. sounds like it fixes some strange blinking on window resize?