Added mousePressed to Shape