Merge "Check if cursor has moved out of viewport bounds in CursorController" into main