Removes lint errors from graphics module

Fixes #2533119