This won't display anything, though an imageview is added after a second, it is just empty. However, when uncommenting the line to add the first image to the index controller, it does work.
Also, when removing any border properties, it will work as well. This includes borderRadius, borderColor or borderWidth.
All border properties should just work and be displayed in the blob resulting from toImage().