How do you make a sprite stay on another?

I have been playing with this concept too and I think i fixed it. Check it out.