Ok, I hear yah... I'm not sure about that...
Quick question though, why don't you use physics and have it so that the tincan deflects the ball when it hits it... So if the ball falls on the top edge of the can, the ball deflects either in the can, or out (depending on how it fell)? Similarly, if you move the tincan right (or left) and it hits a ball on the side, it just pushes the ball out the way, rather than passing through? That way the above will work as a ball can only be either in the can or out, and no inbetween...