Fixed an issue were the program would dispay a strange result when both width and height were the same.