fixes floatingpoint to int precision error

as the title says. conversion from doubles were causing rounding errors resulting in wrong ltc. e.g. 19231,92 at 25fps