Fix rename modpack button not working, fixes #1019