Rstudio got blank at the toolbar; can't minimize, move or close it.

Hi, second time that it happens (see image below). The first time I fixed restarting the pc, but I cannot do it all the time. Anyone knows what could be happening?

Have you tried changing to software rendering?, you can change it by holding the Ctrl key while opening RStudio, then you should see this menu and change the "Rendering Engine" to "Software".

I found out it was the connection of the monitor to my laptop.