Workaround for issue with float and resizing.