Fix for item #1133

This fixes:
http://ae-mod.info/Tracker/1133/
...IDK?