Fixed stackplot figure output