correctly calculate texture coordinates when erasing at the end of a long line

fixes #508
Merge pull request #2283 from kivy/fix_508

correctly calculate texture coordinates when erasing at the end of a lon...