Rewrited wallhack code for stencil buff support