Math.round(
                ((mousePosition.x - state.pan.x) / state.zoom -
                  firstCell.get('size').width / 2) /
                  gridsize
              ) *