drawing a red square on canvas