Changed scalability of window to work with screen size