decided against using Dojo, fixed mesh disappearance bug