Execlide shadow from button sprite boundries for better alighnment

Hi there, I’m trying to 9 slice a sprite to use it as a button, the problem is the button has shadow (in the image itself) and that makes it seem as though my button is not aligned with other objects. Basicly I just want the area highlighted in red

Is there a way to fix this using the sprite editor? If not, how would you approach this problem

Thank you very much