fix(media): replace img on load to prevent 0.5 opacity