Correct draw range in updateTileRange

Unless I'm mistaken, x2 and y2 should be relative to the position of x1 and y1.