Fix transitions not working