problem ray hit in a corner