fix NPE
Merge pull request #5 from JavaSaBr/master

fix NPE during clear scene