I found the issue. You're actually calling the imageview builder inside of the drawer component, causing it to to add an imageview as a drawer item. The skin doesn't know how to handle that, so it outputs the string. Use the imageview function on
resources
directly: