This function is triggered every time when comparison of a specified layer state with the layer of a viewport fails.
Currently not used.