Fix SDL2 cursor tracking when menu open