removed some outdated code, units no longer be drawn out of bounds