fix(client/layout): fix client layout bug in firefox