MEDIUM / Fix foreground Transparency Level cast exception(Double/Float)