dt variable
handled glMatrix stack over/under-flow