extend rect element specs to support separate width and height