Um hey this may actually be a problem ?
If u could put a cricket in front of his face and slowly move it see if his eyes follow it if not there could be something wrong
One of mine used to always run towards the light colored walls and doors until she finally realised it's the windows she really wanted. Now when I let her run around she'll climb up the couch or even run into the kitchen, I usually let her run in the living room but the kitchen has more windows.
How big of a tank do you have for him?
They will do this but if he rubs his chin or snout raw, it could get infected. Does he do this
often?
You could put some news paper or brown butcher/wrapping paper on a few sides on the tank
to help calm him down if possible.
I have him in a 50 gallon, and he doesn't do it often. Its not to the point where he rubs his snout and chin raw. I just think it's a little funny when he doesn't realize where he's going and he bonks his face