Enemies are now properly removed when they reach the end.