Sorry for delay in getting back to you. I have still been unable to see same behavior you showed. This is how it looks for me:
This is what I have been doing:
- Create a new project using First Person template.
- Add a new code class derived from Pawn.
- Add code you provided to create Capsule, Static Mesh, and Camera components.
- Create a Blueprint from custom class I just created.
- Open Blueprint and go to Components tab.
Are you making any alterations to class at any point?