Fix auto-resize height