When switching states very rapidly, eventually, the ui won't show up.
Steps to reproduce: click the button on the screen as fast as you can, after a few clicks the ui will not show up when the states is switched back. The ui state has a red background and the other state has a green background.
Tested on Windows target.
HaxeuiDebug.zip