Fix _getDomArgument to only return arguments for the component

_getDomArgument was returning arguments that were meant for inner components.