Restore XYLayout