fix for orientation change visibility recalc