I have a Shiny dashboard where I am rendering events on y axis. The scroll for the legend works fine when I render the UI for the first time. But if I resize the UI or refresh the Page the scroll disappears. 