fixed an issue with floated elements dont position correctly