Fix Tick crash