Try deselecting the image first, either by clicking on the hover button or by clicking in the empty area to the right of the viewport.
There's another problem for the Operations sidebar and the toolbar too: Even after the second click, i.e. when context menu finally appears, Image Operations is still empty and the Rotate toolbar buttons are disabled. It never occurred to me before, but now I realize that perhaps this is connected to the issue.