simple version of a pixi.js component