Prevents animated sprite from creating continuous redraws in vital_redraws_only mode. (cherry picked from commit 54a939a029)
54a939a029