Better fix: only process if the emulator has initialized