Avoid invalid values on the width and height fields, close #1