Fix reflection didn't maintain correct layering order