How to get perfect Borderless Windowed Mode#
Once in game, open the console and then copy and paste the following:
r_fullscreen 0; vid_xpos 0; vid_ypos 0; r_noborder 1; vid_restart
Then press enter and your game will restart in Borderless Windowed Mode.