Fixed style change bug introduced in 0abac90