Workaround for global extents

Partial fix for #66.