Make getActiveFrame optional.