Fix token manager crash on large screens