Make the loader work again

Now the features are based on the topmost element