Added more checks for MCRenderer null state