Fix error messages in minimumHeight, minimumWidth