Fps lowers significantly when tab back into game

I’ve got this with windows build. Tab out of fullscreen mode using either alt-tab or windows key and then re-enter the game. Frame rate halves. Do it again, it halves again.