Maximage fix for IE8
More small ammends