fix for firefox dotted animation