- Fixed bug: Deactivate onLeave/afterLoad event after resizing #301