Fixes #170 by resetting layout suppression on an exception.