[viewport] Use the ::apply_transform vfunc