draw: fix flatshade stage for constant interpolated values