Properly handle non-intersecting polygons with tiled raster operations.

Fixes #406.