MADS: Add support for sprite flipping in UI background animations