Referral grid resize bug fix