Fixed a bug caused by decimal point and period being different keycodes...