Removed bug in MshLayerMapper::CreateLayers().

The bug occured in the case the mesh contains line elements.