Updating image positions.