Removed synchronize from setPosition.