[PATCH 5.1 089/121] ovl: detect overlapping layers