two possible crash fixes
Merge pull request #1025 from ZappoMan/voxel_render_modes

two possible crash fixes