Fix to floating memo issues in firefox.