Fix incorrect layer/sub_layer parsing.
Default to layer 1 in GfxObjectType.
Implement indexing by both layer and effective layer in map tile's objects inventory.