Fix for #157

(Consider refactor to put autosize code into parent class)