change depth-stencil flag to use stencil buffer.
bug fixed for alignment.