Update RenderingEngine.java

If main camera null , it will crash. But it better to say, just so noone will search for error 30 minutes (someone like me)
Merge pull request #20 from fhntv24/patch-1

Update RenderingEngine.java