Thank you for the feedback.
I have fixed the visual glitch, thank you for letting me know.
I initially wanted to let the player dash through the bosses but that made the fights very easy, Now I have tweaked some boss's attacks and allowed the player to dash through the bosses, Let's see how the bosses feel and I will further tweak it accordingly.
I really don't know how to fix the second bug you encountered but I will look into that as well.