Fixed rebuild not triggering on style change