Sets the window location.
TODO(jingbian): Remove this, prefer setter.
void setLocation(Point<int> point) { location = point; }