fix(ui): force a repaint when swapping view in cardinal layout
Description
This is a bugfix for bad painting of some widget in cardinal layout due to !1105 (merged)
Results
- Ensures that everything is correctly painted
How to test it?
- Use a cardinal layout and use "swap"