Textures don't scale properly in postprocessing masking example

Hello,

In the following example the textures are not properly scaled when the window resizes.

https://threejs.org/examples/#webgl_postprocessing_masking

Can anyone help me with this? I’d like to create something based on this example.

Thanks in advance!