drew rectangle to canvas