Fix TextPane not showing text on windows / Recreate containers as containers on sorting