- Optimize memory allocation for checking entity fluid collisions. Backport of #10745 (#10751)