Fix SnackBar not showing.