Changed x/y/ in tilewrapper to vector2d.