fixed rectangle resizing

if else scalar multiplication readjusted in rectangle class's draw
method