I think you don't have to exclude the border, as video_window already sets the window size excluding the window border.