Fixed bug which caused not drawing port on Text.