EffectComposer with SAO + Layers

Hello, I was trying to implement ambient occlusion with SAO but only for some selected elements in my project.
I used solution from this topic: [SOLVED] EffectComposer + Layers.

It seems to work, but the problem i found is that, when i am using MeshStandardMaterial for selected elements, ambient occlusion does not show and elements are black. For MeshBasicMaterial everything works fine. I created fiddle with example of the problem (commented line is with MeshStandardMaterial):
http://jsfiddle.net/malekith44/kt1epuar/9/

Settings for SAO are default here.

For MeshBasicMaterial:
image

For MeshStandardMaterial:
image

Does anyone know why it works this way?