Why does my style keep changing?