Fixed by updating prusa-slicer to version 2.4.0 in commit e0ef09a86c108805ae294fc0ce8d638e420f206d.