Fixing animation queue so that any passed in animations with duration 0 will happen after the currently animating animation rather than immediately when queued.