ScreenSpaceCurvature post process doesn't seem to respect clip planes

I’ve been experimenting with using the ScreenSpaceCurvature post process effect in my project. However I’ve noticed that the effect doesn’t seem to take clip planes into account.

See playground example: Babylon.js Playground

Is this a bug, and can it be fixed? Or should I find a way to hack around this limitation?

looks like a bug to me, let me have a look.

Here is what it will look after the fix