Ensure animations do not hang anymore if an active class is not provided