Fix https://github.com/rec/swirly-leap/issues/3 and return to library version 2.2.