Fixed a depth issue for smoke in web deployment