Working around a CorelDraw x7 bug + fixing palettes

Change-Id: I56ce7bfd3a49923cbf6e989687f02cdcf287eecb