minor changes to centering canvas