Remove sprite batch stuff and make sure nil values are removed from the entities list