I used sys_marker and the error seems to occur in the while-loop.

Code:
//Grow the menu from middle
	int iRad = 0;
	while(iRad < _menu->radius)
	{
		positionMenueItems(_menu, iRad);
		iRad += 20;
		wait(1);
	}