On piecewise polynomial interpolation in rectangular polygons