NXP-12783: Fix graph display when a scroll bar is needed