Accurate Event-Driven Motion Compensation in High-Resolution PET Incorporating Scattered and Random Events