Fix taking photos