clear rect fix