The gray box should be on top. The green box should be on top of the blue box.