Fix button animation effect.