I've not experienced this myself, but I've heard it is just a graphical glitch and your cannons are still there.
They should re-appear once you interact with them as if they were there (prompt is not displayed, but it should work to aim them when pressed the right button).