Fixed a simple, yet bad bug that came up when I renamed 'doneAnimating' to
'active'.