drawing square on image