AVM1: _parent and onInit event fix

Fixes #472