Bugfix: Fixed screen flickering

Replaced calls to function clear() with erase()