[MAINT] Eliminate compiler warnings in Graphics module.

As the title says.