Can a Year-End Bonus Be Docked If You Took Maternity Leave?

Is it fair for management to dock someone’s annual incentive pay because of a maternity or medical leave?
YOUR MORNING NEWS SITE
Is it fair for management to dock someone’s annual incentive pay because of a maternity or medical leave?