Use property dictionary for getting joystick elements.

For some reason this is required to get Elements sub-element inside addJoystickElement.