Added setPositionCursor