Only respond to stylesheet changes for mounted components

Refs #4493