Fixed an issue with layering when masses are added from the mass carousel.