z-index layer handle changed. every value now is only used once (from 1 to n)

jenkins test successful:
https://jenkins.catrob.at/view/All-Categories/view/Catroid-multi-job/job/Catroid-Multi-Job-Custom-Branch/1769/
except two tests, which have nothing to do with this branch.