Changed from stack to queue for #173

Otherwise the animations wouldn't be in the right order