Fix Phaser.Line.intersectsPoints by properly checking the boundaries