Do not allow negative thickness values