Setting objectmanager on proxy instead on element