Added snap to grid