fix for axis aligned raycaster (correct detection of zero crossings at partition borders)