[Device] Fix a memory corruption error

Fix bug #50.

This bug occurred when nesting service proxy actions, overriding a GObject weak pointer.