Fix bug breaking vertex drawing if state non-numerical