Another autoResize() bugfix