I have a tank raised Maroon Clown. After a 2 hour acclimation, I put him in the tank and he was drawn to the right rear corner of the tank. He swam up and down, hugging the glass for a day or 2 I think. He displayed the same antics yours is now. I would give him a few days before really worrying. He's in a new "body of water" and is probably just confused. After a few days, my Clown started venturing around the tank, but although he stopped hanging out in the right rear corner, he still for the most part hangs on the right side of the tank. He doesnt mind being out in the open. Actually, he doesnt even care about the LR or any hiding spots. This might sound weird and unbelievable, but my Clown sleeps in the front top right corner of my tank, between the side glass and the thermometer that hangs there. I dont what it is, but that his spot. When I turn the lights out at night, I watch him paddle his little fins as fast as he can up to his bed lol. I just looked, and he is up there right now getting ready for bed haha. Can barely see him cuz of the black plastic trim of the tank.
some fish will display weird behavior, and some really do have their own personalities. I would give your fish a few days in his new home. Also, my Clown sometimes spits out the food too. I noticed him doing that when I first got him, especially when he would pick up sinking food that had already hit the sand. He would spit out the food to get rid of any sand on it. I've had him for like 3 weeks, and he is fine now.