Fixed fixed/floating conversion bug