Use the Levels effect as an effect clip on the top layer, and then apply a Crop effect after it to limit it to a certain region.
This does not happen out of nowhere. You have a shortcut set somewhere that's triggering this behavior.It also seems to be happening with clip position.. when clips start sometimes the position means they're way off the canvas.