Fixed resizestart and resizeend events