How to implement letterbox scaling in PixiJS | Hacker News Reader