Some fixes and optimizations to bounds and transforms in DisplayObject and TextField