Misc AVM1 fixes

Fixes AVM1 SetVariable resolution and call frame functionality.