Fix emitter code to be in line with js code
Fix emitter code to be in line with js code

sebavan/Babylon.js,sebavan/Babylon.js,sebavan/Babylon.js,BabylonJS/Babylon.js,RaananW/Babylon.js,BabylonJS/Babylon.js,BabylonJS/Babylon.js,RaananW/Babylon.js,RaananW/Babylon.js