AnchorLayout: fix for issue with non-ILayoutDisplayObjects (references #793)