Made the horizontalbars fit on the canvas