Fixed parent mapping for enums in visual designer