Same here. We have our two males in a divided T10 and the pied was on the right side of the tank. He would shove his head in between the glass and the tank; in fact, one day he had his head so squished in there I thought he was dead. But he pulled himself out and went back in his hide. He was doing it so much he rubbed a spot on the top of his head.
We even tried switching the boys around to see if the black pastel would do it; so far, I haven't caught him in the act.