Short circuit unwanted resize events