Cross-browser fixes and layout fixes