Why is the hitbox being left behind when the enemy moves

Godot 4.2.1
My Node Tree (The only hitbox being used is WalkingCollisionShape2D)

The code is
position += velocity.rotated(rotation) * delta

Rigid bodies should not have their position modified directly. Use forces or change this to a CharacterBody2D.

I am pretty sure hidden collision shapes still apply.