What needs to be understood in these cases is that the final result of leaf mimicry may well not have been the original cause for selection. Many structures arise out of adaptation of existing forms, colours, body patterns, organs etc.
In the case of leaf mimicry, simply being roughly the same...