resized canvas on game init