is ctx->mRotMgr->clear(); breaking it?