Added IsUnitIdle() function and fixed scrolling issue when pausing a game