'Prompt for User Input' window sizes itself too long if the Prompt text is a long variable - how to fix this?

I've made a macro with a Prompt for User Input with a variable as the Prompt text. If the variable text is long, the window Prompt for User Input sizes itself to be very long, much longer than my computer screen. As a result, I cannot scroll the window to see the bottom part or use it and I have to cancel the macro.

How do I fix this issue? It seems like if the Prompt text is long, then the window should resize in a way that allows for scrolling the text or something like that.