VTK: fixed bug in -D patch