fix small layout glitches