Fixed issue with 2x2 heightfields and the triangulate interpolation method

The -2 should be a -1 anyway, getting the heightfield at a pixel on the
exact upper right of a height field didn't work previously.