Instead of dividing by 256 for vertex calculation, we apply a view that ...

...matches the map dimensions. This solves the problem that for polygons, significant numerical precision is lost on the range of [0..1] and triangles are not rendered or rendered inaccurately. The problem is not apparent on the widened range pf [0..255].