Fix issue #990: Change UIAElement map in mechanic.js