Fix render order so it works