Try:
sudo apt install --reinstall libreoffice=1:5.4.1-0ubuntu1
Does the context menu show up when on the primary monitor, by any chance?
Try:
sudo apt install --reinstall libreoffice= 1:5.4.1- 0ubuntu1
Does the context menu show up when on the primary monitor, by any chance?