Fixed leaking issues on UW maps.
Fixed broken UW scripting on Do trap platforms.