fixed #7 there is no more significant lag when drawing canvas. yeey.