Fix parser to support translating shadow property