Misc GPUI `Entity<T>` cleanups (#28996)

Found these while working on a `.rules` file which explains how GPUI
works.

Release Notes:

- N/A
7cf4926130Michael Sloan committed on 4/17/2025, 11:29:19 PM· committed by GitHubparent676cc10
4 files changedLine totals unavailable