Handle missing canvas bounds information correctly.

Fixes test failure.