Fixed compatibility issue with devices that have no rear camera
available