Fixes animation