minor bugfix in auto width / height behaviour