Fixed scatter plot bug.