Fixes a JavaScript CSS float bug.