Fix a bug in Vector2f where an invalid index (the z coord) was accessed