Added setter for currentPos in figure.