Crash when remove plot area

This is a duplicate of