Fix the getObjectunder() recursive bug, return correct result.