Add native GetWindowPosition() function