Fix camera on firefox