ProxySpace and Midi devices

Hi, can someone tell me how to get a TempoClock sent out to a midi device, but using a Proxy space - if it’s possible?

If I’m just using a normal midi client my code looks like this:

(
MIDIClient.init;
~t = TempoClock.new.permanent_(true);
~clock = MIDIClockOut.new("myDevice", tempoClock: ~t);
~clock.play;
);

If I create a ProxySpace the clock stops working (meaning it’s not sent to the midi device). So, could someone explain how should I change this (or rewrite it completely) to work with ProxySpace and MIDI.

Thanks in advance - joesh