Fixed casting away const in the bullet
version of EntityTool::getFirstEntityInRay.