Minor bugfixing of graphics plugins