Fix minor float bug