align coord. grids when canvas size is not 1200x900