fixed the scrolling behaviour when using the canvas drawer