CharacterMovementComponent is only designed for a vertically oriented capsule, so you might experience a few issues with this sort of thing, especially in walking movement.
My guess is that AdjustFloorHeight() is detecting that you are too far off the floor, and then adjusts the Z position downward to try to fix that.