Fixes slow animations