Fixed missing clear before render