fixed seg fault in drawEntities()
entities without camera physics caused seg fault
added check for edit mode to camera physics