Open level means you have to click to lock viewport. Any fix?

I am making a floor is lava type game and when you die the ‘retry’ button opens the level again to restart. When I do this though, the player has to click to lock the viewport and enable mouse controls like looking around ETC. Is there any fix to this, or have I gone about restarting the level the complete wrong way?

This video should explain what is happening: