seems like centerX was the issue for not centering the logo on mac. this.getWidth might be bad on mac.