Fix for lost context not being handled properly within StandardMaterial properly (I was lazily calling 'dispose()' when this happened, where various bits and bobs get nulled - causing a null reference error down-the-line).