optimized YRectangle.as for DisplayObject
made initApplication protected