ray sensor opening width bugfix