Fix rendering in non-webkit browsers