[Input] Improve SDL2 and Windows GetCursorState