bugfix: raycasting over invisible record