Fix raycasts for menu prefabs