Removed unnecessary hacks from RayVisibility filter