Fixed issue with changing view height