Force Context.gc() when deallocating some gl resources. closes #1014