if(rect.m_Background.m_pTexture && rect.m_Background.m_pTexture->CanUse())
Getting null pointer crashes