ViewCaptureToFile ignores active Display mode

Create custom Display mode (eg based on Artistic) and try to export viewport to file with ViewCaptureToFile. Output image ignores active display mode.