added invalid depth tracking, which appears to have fixed the last crashes