Fix for horizontal scrollbar flicker