Yeah it's possible that your collision was split if you take a damage so just some pixels have the collision and not all. This bug is a pain to fix bahahaha. Thank you for your comment and for playing my game !!