Hackish fix for layout diferences in webkit