Fixed GlBuffer mapping bug