If you want her to be standing in the same spot as she attacks, you'll need to start messing around with the origin points for each frame. In the Animation panel, there's a button on the left that says "Set origin and image points" Clicking that will show you the origin, which is what the sprite is centered around. If you always want her feet to be in the same spot, for example, make sure the origin is on her feet in every single frame. Then she won't move so much during the animation.