Fix crash for devices with no autofocus front camera