Fix camera preview freeze

Change-Id: I6fe0693eb63f5e3af0d796081ac53d27965db8c0