Fix background transition