Mouse position check now updates per frame rather than immediately.