Sprite object has fully working collision detection