FreeCamera: only register mouse input if window has focus