void DisplayItemList::endScope()
{
    m_scopeStack.removeLast();
    endSkippingCache();
}
void PaintController::endScope()
{
    m_scopeStack.removeLast();
    endSkippingCache();
}