Fixed the animation end event.
- Small bug was causing animations to be processed when they had not been started. This was incorrectly causing the end event to be fired continuously which inadvertently broken animation queues.