Better mouse show/hide implementation