Fixed WindowGL constructor