Widgets lose their position after screen rotation

I have a convertible laptop that supports automatic screen rotation (Plasma 5.27.9, Arch Linux).

After rotating the screen from horizontal (normal) → vertical → horizontal, all my desktop widgets move to the left part of the screen, since the intermediate vertical orientation has less width.

How to make the widgets remember their original position of the screen after switching the orientation back?

I am happy to file a bug report, but I am unsure which package I should report against.

Here is the bug report 479280 – Widgets are not restored to their initial positions after screen rotation