Fixed what will be a crash and also the boss bar renderer so it doesn't
render out of nowhere when using mods such as NEI