Fix critical bugs that cause incorrect rendering if rendered again. Issue #3 should be fixed by this patch.
Merge branch 'master' of https://github.com/phaikawl/gosgl