fix relayouting optimization bug