mouse handling changed