Stopped the player from jumping below the ad when the window resizes