Fixes a problem where floating images were not shown correctly when the "at end" position was selected.