GRAPHICS: Fixed compilation errors