Disabling scene rendering while fullscreen menu is opened?

bumping this question