fixed the bug related to text sizes. added the adjustments for currentRealOrigin in image renderer.