Fixed resizeEvents not properly firing on the javascript side, when the javascript animates no resize events are send because this is breaking something