Correct the initial window position to avoide the placement warning during the build phase