Properly fixes parameters for extension

Fixes http://mozilla.github.io/shumway/examples/external/params.html