Minor fix for x11 systems to prevent early get screen size calls.