Fix for enum values on pen object