Fixed crash when selected photo and then canceled camera