fix alignent problem when rendering text with shadow