Fix autoscroll and blocking canvas element