fix RA Desert palette rotation regressions

This partly reverts commit db7887687b17f594a80ab537cc5e1ecdfee82ae6 by @pchote.