[#2326] fix bug navbar background and modal shifts main content flicker