camera preview fix