addressing seg errors when clearing

In reference to: https://github.com/openframeworks/openFrameworks/issues/2551