Right now, the point at the center of the grid is pinned. It would be better to find a point inside the immersed boundary and pin it.