Take into account the iframe position when adjusting the windows.