Page visibility normalization between browsers