Merge "Always respect tile bounds in calc_target_weighted_pred." into nextgenv2