fixed context for reset after animation