Fix running window resize events