Ensure @width / @height are positive.