For a cory, it is odd, and it is not odd, behavior.
Cories are a schooling catfish and like to be with many of their same kind cories (Ie peppered cories with peppered cories, green with green etc). Sometimes they see their own reflection in the glass and try to school with it, especially if they are the only cory in the tank.
Change the tank water if it is necessary, and if you do have the room for it, definately add three more cory friends for you lonely one.
~~Colesea