I’m having the same issue as OP, seems like no one know the answer. ShowMouseCursor must be an extremely legacy code that Epic won’t probably update anytime soon.
If someone has an answer to this I’m willing to hear
Otherwise solution might be: make your own mouse cursor.