Add central position feature for active window