Font type Variable resulting in wrong intermediate layer interpolations for static fonts

Hello, I already mentioned this in another thread, but thohught it best to keep it a separate topic.

Setting the font type to Variable results in wrong interpolations for glyphs with intermediate layers:

This only happens for static exports, variable exports are fine. Does this have anything to do with Axis Location parameters, which I set?