BUGFIX: Fixed bug not rendering the sample points after and before NaN values correctly