Fixed bug: can no longer add point if shape is closed