Made similar to all other object branch and added support for PIXI