raycast only terrain when paiting - closes #276