Fixed animation skip bug