Using ClippingNode with custom classes

Hello all! I have a problem with ClippingNode. There is 3 classes: Slot : public Node, Reel : public Node, Slots : public Node, and I need clip this to get SlotMachine. But it not work. How can I did this?
Result (bad)
This is my source code.