Change mouse handling for editor.