Change DisplayObject generateTexture resolution from Int to Float
Overload DisplayObject generateTexture method to avoid having renderer as Dynamic