Add basic depth limiting