Push and pop states that sprite batch changes and then change them back to fix depth buffer issues.