Added support for continious drawing.