Add guard for bbox values.

Dodges a numerical issue that baffles me.