Fix photo loading