Added rect argument to ccWindowSetWindowed