prevent animation interruptions