Fixed the positioning of UI elements. Chartjs fixed on the endModal