Great you found the problem! 
I also see my mistake, I thought you were comparing coords, but you are most probably passing proper sprite positions 
2 Likes
Great you found the problem! 
I also see my mistake, I thought you were comparing coords, but you are most probably passing proper sprite positions 