Auto focus camera before taking a photo