Fixed the mouse bug.