convert 0-size rectangles to circles and warn. fixes #11