Possible fix to pointsRange issue