Implemented window position and size methods.