changed if-statement to check HXP.renderMode
changed if-statement to check HXP.renderMode

scriptorum/HaxePunk,HaxePunk/HaxePunk,bendmorris/HaxePunk,wselken/HaxePunk,Pinpickle/Punkiversal,bendmorris/haxepop,scriptorum/HaxePunk,MattTuttle/HaxePunk