I upgraded Xquartz and the problem went away. Windows open below the osx title bar now instead of underneath it.