Fixed bug #11345: Uncaught exception InvalidArgumentException on creating graphical...