Ok, now I've played a little bit longer. The mouse "unclicked" in the beginning of the game then when the ships engaged with each other and once more when a ship where destroyed. After I ordered a emergency dive and was under water I had no "unclick" problems but instead when I went to the map view and out again the mouse was stuck in view mode and I managed to get the cursor view by repeatedly clicking right and left mouse button.
Here is the log.