Fixed issues with GetTile and GetMapSurface

GetTile was not finding the correct tile when the vertical world
position was zero, and GetMapSurface would return the incorrect position
as a result. Also, there was a typo in the test data that was giving
incorrectly generated widths.