fixed a bug where the canvas never drew