Added cachedCurrentParent to drawitemhook