Fixed Mouse Polling Function