critical fix for tablets in inproper layout rendering