Mouse position now snaps to cosest cell.