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

Is there a proper way to reproduce this workaround in Blueprints? Having the same issue here but didnt touch any code till now.