avoid layout breaks for server page, fixes issue #1522