Size fix 0413

Sorry I didn't branch last time - didn't read the manual.

Here are the previous fixes, and a new one, which ensures that all tiles end up the same size.  Previously, edge tiles could be cropped to a smaller size than the requested.