revert grouped bitfields to simple enums (some operators are issing)
* fix patch for PathFromStyle