remove canvas rectangle