The `paint_init_pivot` calculates the `location` based on the midpoint of the bounds of the object. For grease pencil the bounds depend on the current frame (for original data). This fixes the issue by making the `bounds_min_max` function dependent on the `frame` and by introducing a `bounds_min_max_eval` for evaluated data.