Event handler for when the user's mouse has left the window.