pause emulation and OpenGL when putting app in the background, fixes crash