Fixed the laggy resume animation