How do I make my custom mouse cursor stop disappearing?

I’m making a third-person shooter. Currently I’m trying to implement a custom mouse cursor, but I want it to only appear when the game is paused or in a menu. Right now I have it set up so the mouse cursor appears using Show Mouse Cursor nodes when the game is paused, and disappears when the game is unpaused. The problem is when I pause, unpause, and pause again, the custom mouse cursor is replaced with the default Windows mouse cursor.