resets altDown and mouse events on focusout event
conflicts
Merge branch 'alexchee-master'