Add code for initializing render canvas