Flex painting order with z-index

Test passes if there is a filled green square and no red.