Fix a newly introduced issue where the red warning message would not be visible as the MaximumSize would prevent the Height from being set higher than allowed