a camera bug fixed

the bug is:
Camera gets crashed when I lock the screen and then unlock it.
Merge pull request #14 from lyg830/master

a camera bug fixed