fixed an error in window paning not sure if it happened because of yosemite beta but w/e