fix camera preview