Cleanup the hack settings

AlwaysDepthWrite only need to apply in clearmode only while disable Stencil Test only need to apply in non-clear mode .