Use a more anti-aliasing, quality friendly function to resize the overlay image