Added preferredContentSize support (see issue #26)
fix issue #26