Bugfix for case#5 mouse behavior.