Set a texture entity's width and height when it is first created