What is Essential for Unseen Goal Generalization of Offline Goal-conditioned RL?