Fix for functions like collidePoint that find elements by type. Find the most recently added entity first.