Changed program icon file type to .ico file. Now there is no weird black background.