Revert "Take out glEnable/glDisableVertexAttribArray in sglEnter/sglExit"

This reverts commit 114ddec34aba8c82e10ff0d109803c5ee6591589.