a camera bug fixed

the bug is:
Camera gets crashed when I lock the screen and then unlock it.