Check for failed ray casts (seems to mostly work now)