Fix testCopyFromContextDialog 

See discussion in https://github.com/Catrobat/Catroid/pull/667#discussion_r6155225.

https://jenkins.catrob.at/job/Catroid-single-UI-emulator/182/