Fix user photo loading bug