clearing the screen before render