The fix was [this commit](https://github.com/Maps4HTML/MapML.js/commit/5e9e7ce8b4e65c9300586c45e8bdb1119e24ce81), didn't have time to write a test. Can't believe it wasn't already covered... :-(