Fixed a mouse bug