It's not a bug..
If both sprites are instances of eachother you can use the condition Sprite pick top/bottom
Otherwise you can do this by putting both sprites in a family and using that condition..
Third option is comparing the sprite.Zindex to pick the top or bottom one..