moved root-coordinates to center/center of window