Fix issues with activities alignment in Safari

[#71692056]