Fixed delay in animation buttons.