bnc#593614: Avoid rendering artefacts in presentation mode.

By not using XOR rendering, see also fdo#38844.
The first variant seems to work better.

Basically, this is just cherry-pick of
bb5c7d6a79309236d4f19bb2498f2e850f735a2f

Change-Id: I0fdccf60601a47c91f467f9d1321d1c25f1ef68c
Reviewed-on: https://gerrit.libreoffice.org/9824
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>