It may be blindness from an injury or something else then. Sadly there's not much that can be done as far as I know. As long as the frog can see to eat, it'll probably do fine though.