Add the pParent member (parent layer) to the SynthHero. This layer moves with the hero, making him stay at the center of the window.