fix(ui): mispositioned editor when editing a comment that contains a floated image

Fixes #6576
Merge pull request #6577 from sembrestels/comments-ui-edit-float-fix

fix(ui): mispositioned editor when editing a comment that contains a float