Error corrections in DecoratedFrame/Dialog.