Fixes #55: tile co-ordinates cannot be outside of the image