Update object.class.js

Fix border in case of stroke=color but strokewidth=0.