Not registering on resize event on iOS.