Fixed level editor null pointer exception with items