Fixed bug with linecasts hitting invisible objects