[#960] Fixed Weird Firefox animation