added getting vm window position