tmx: be sure From header is parsed before accessing the tag

- reported by Juha Heinanen