fix centerImage directive to work with IE9 and 10