fixes issue where create dialog torrent buttons were not visible and windows had to be resized by user (after java8 update)