Move resetElements() and render() to CanvasPanel