Fix drawing order.