Fix warning in gfx: "variable does not need to be mutable"