fixed camera bug