Moved calculations for ticks drawing into alDraw.c