bug fix: writemidi for some fractional deltatime values