fix fgcolor of inputbox is always 0.0