The starting desired size came from the preview cache, matched by settings
only, so an edit made after the preview drew and before the button's click
was handled gave the previous art's size. The cache is now used only when
it holds the active document at its current revision; otherwise the image
is made once and kept for the preview drawn in the same frame.
The size in K is computed with a u128 product, so a file past about 4 MiB
on a 32-bit target (wasm32) no longer reads smaller than it is.