Use a Vector2i rather than X and Y

We have the Vector2i class already, let's use it.
I think this can go up one line, seems a bit off all alone…