Fixed getPosition()