Creating a canvas for immediate rendering