make preferredSize element more sensible