The resize handler could be registered just once (window is static). Nevertheless, mouse handlers are registred to an object that is recreated for each resize.
So, after the first resize, mouse handlers are no longer registred (you can observe this issue here : tests/resize.html).