I have the same problem until I cleaned the sensor beside the front camera,and I stopped experiencing it immediately
open