PHRAS-152 #fix Add flatten option to disable transparancy