Dash to dock double icon Fedora 25

When I launch libreoffice I get a second icon with no logo

I have tried to use xprop, but it doesn’t react when I click on Libreoffice.

In the .desktop file the correct setting used to be:

StartupWMClass=libreoffice-writer

But now this does not seem to work.

Libreoffice Version: 5.2.3.3
Build ID: 5.2.3.3-10.fc25

I am using Fedora 25 and Gnome desktop.

All other applications launch normally.

Any ideas on how to fix this will be much appreciated?