The negative value was the extent (i.e. the size added to the region coordinates), not the size itself... Ironically, that clamping code is also part of LL's viewer but because of a bug in it, the clamped values are not taken into account... When I fixed LL's bug, I hit another (the extent should be allowed to go negative, obviously, instead of being clamped to 0).