Fix image loading animation in FF and Safari

[#76530828]