Show mouse cursor disables mouse events

Hi,
yes, the same code changes were done in the master branch; This is what the pull request 2207 is for.

Cheers,