Setting a custom hardware cursor does not work unless the mouse cursor re-enters the active game window

This bug is still driving me crazy in 4.22 : /