Fix autoHeight bug introduced in previous commit.
Make sure options.autoHeight can be toggled via setOptions.