Fixing order of rendering text