Added the no depth draw, also fixed some bugs