Resize handler

fix multiple mouse handlers registration.

in relation with #200