make borderless config option and window property work with pygame