fixed TMX loading bug that was causing object layer to only work if it is attached to top layer