Thanks for your help, but that's not really helpful, is it?
This will of course also work with normal levity, you just need a block above your head to stop you from gaining height.
This is a leftover of that split. It looks like /fill was updated to deal with this scenario but /setblock wasn't.
Can confirm in 1.20.4.