Fix loading of actions with locator as an option

Without this change dragDropElemToElem actions won't get loaded properly (at least in Firefox).