Fix 'Error: Invalid negative value for <rect> attribute height="-1"'