Fixed a mouse bug.