fix fgcolor of inputbox is always 0.0
Merge pull request #951 from chrox/fix_fgcolor

fix fgcolor of inputbox is always 0.0