Fixed a crash when the screen is reconfigured and the demo is disabled
Disable the default action in embedded mode (for third-button emulation)