Perhaps try covering up 3 of the sides of the tank with paper so that the bass knows there is something there, and doesn't try swimming trough the glass. If this doesn't work, maybe try putting a bunch of fake plants or something (obviously nothing that will take up too much space) along the back of the aquarium to discourage the bass from rubbing up against the glass.