Added restore of xtal position