fix message drawing order