Fixed ASSERTION: QueryInterface needed: 'query_result.get() == mRawPtr issue