Ensure `flex_float` works even when re-painting without layout

Previously, we were mutating the remaining space stored on the layout
state, which would cause re-paints to always have a `remaining_space`
of 0 and therefore not align `flex_float` elements to the right/bottom.
95d848fe1eAntonio Scandurra committed on 5/6/2022, 8:20:03 AMparent8445eaa
1 file changedLine totals unavailable