Fixed Object Properties dialog not remembering its size

It was always resizing itself to its preferred size, so the mechanism
implemented in 28ea563 was not working for this dialog.

Fixes #339