Refactor collision map to tile map supporting layered sprites