Fixed PNG resizing so that it can take a bg color