move getter inside check
move getter inside check

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