await image load before firing caption layout fix