Fix bug in svg floating