Fix the failure of launching instances in Horizon