Checks that hit testing is correct when two layers with negative z-offset overlap