[fix] don't activate mouse on an unknown event (continue PR #2533)

Minor glitch on the PR #2533 got unnoticed. Mouse is activated if the mouse handler gets an unknown event. For example double-clicking middle mouse button causes an event like that.

Naturally unknown events can't be mapped to any action. That's why an unknown event shouldn't change the activity state of the mouse.