Override the broken process_frame method with a fixed version