made touch to grid position more accurate