Fixed crash when opening controller without a controller layout