sped up maze rendering by using image to draw it instead of drawing all the lines every frame
merge