Fix instances of spaces in class names starting with the UI prefix