Fix #8781. Display rotated images with alpha channel properly

Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
Fix7734. Avoid race conditions in ToolBar animation

Signed-off-by: Axel Dörfler <axeld@pinc-software.de>