Fixed mouse hide and show