Fix some buggy mouse stuff