Fixed updating render order