fix camera with chrome's bug