Avoiding redrawing the entire screen during rendering