Fixed issue #2338: Added listener attributes to min and max in random number component