For CList, COList and CDropdown sometimes borders are rendered below other parts (e.g. text).
This diff fixes that by differentiating between background and border and rendering borders last.
This is a better solution than D1127.
Also fix a wrong parameter name of `DrawList` introduced by rP23005.
Refs #6055