[renderer] Fixed compilation in debug mode