Fixes problem with transitions not working on some mobile devices