fixes #1023 - PIXI.Graphics initial width and height is 0

fixes #1023