Fix to bug with black colored shapes

Previous commit contained a bug with the code that changed the color of
a shape while moving or resizing the shape. With black shapes, it
didn't change the color. Now it changes it to white.