Display problems in Safari and mobile devices