Add useful window position functions.