Minor improvement to the marching entity transform.