I've done it a little different with the same approach.
The screenshot is for others who might stumble across the same issue:
But still I think that something like this should be a default implementation in the software:
A sprite image in a new layer which covers another layer with touch buttons shouldn't be transparent
to any touch in the same buttons position unless you specify it in code that the layer is invisible...