Changes callback on drag to getCenter