Fix change color shapes by mouse click.