Set the option's height and width automatically if undefined

Due to changes made for #30, the auto-width detection can get screwed
up. Therefore it should be auto-detected and then set as if it were
user-defined.