MCP can't access Rive when in background

Sometimes MCP (via codex) can't access Rive when the app is running in the background or when it is minimized. Rive seems to time out and becomes unresponsive. This is ok for a manual workflow but when running an automated workflow such as MCP, it is normal to have Rive running in the background or have it minimized.