Fix for float bug in Chrome