2d combat problems

The fact that it moves even just a bit causes your enemy to fall from your level.Try making the floor collision a little bit thicker.