Set overflow: hidden to prevent resize/redraw loop