Fix #1164; detect bug 44083 when inheriting styles.