Bug 1028330 - Use the center to calculate the nearest grid item. r=kgrandon