WSS: Support transparant borders when resizing images