Update emulator.rb

Fix no emulator window shows in MacOS 10.9