Use the context of the component when creating delegates for ToolBarLayout
Right now the context of the toolbarlayout is used, which behaves unexpectedly for actions with custom displayComponents set. Using the component's context means the component has access to its surrounding properties correctly.
Edited by Arjen Hiemstra