Plugins (oinksie): Fix misplaced unrefs