Added pixel by pixel collision detection