Fixed a possible source of the emulator being completely unresponsive
to user input.