Keeping the x-ray beam perfectly still