Fixed AnchorPane assumption in Detail