fix for #7628

removing the last point of a rubberband is actually not removing the last point
but the point before last. The last point is your moving mouse point.
Addition of a 'removePoint' function to make this possible