Fixed crash because of non-rendered visual