Retain message position when refreshing search buffer (related to #560)