Recheck compatibility when repositioning

It's necessary to recheck compatibility when repositioning a widget.
Without this, it's possible to nest un-nestable widgets like forms,
by putting the form inside a container, then putting the container in
another form. The deep form never got a chance to object.