Fix invalid cast of dict objects.
Allow Python access to engine's master effect.