fix _getOriginalStyleValues for elements with style attributes