Add element argument to Interaction#getAction
Fix restriction for non-resize actions