check of winWidth and winOffset values