It's intentional, this is to help prevent busted megas blocking the nexus.
The megas that are killed at a nexus still stay around the nexus, only megas killed in random spots on the map return to player bases so it doesn't seem to have anything to do with blocking the nexus
Don't forget to join us on Discord. Click the link above for your invitation to the server where you can see the new forums and features.