Add guard to avoid recreating animation timer for no reason