Fix broken `get_line_properties()` for mappings.