Fix for gradstop pos

Closed Bitbucket Importer requested to merge bitbucket/declined-pr-223 into branch/2.5