fixing mouse wheel handler not being properly attached to the editor