Fixed issue with "strange" black line after resize()

Resolution taken from: https://github.com/masterexploder/PHPThumb/issues/43