Fixed that weird collision bug but found a new one, it seems that when a projectile is fired on an angle its position can skip the enemy's and the collision doesn't happen.