Fix messy paddings in semantic layout and broken bottom bar after resize

[#47961277]