[cp0051] Attempt to fix some arena-related exploits