Fixed a bug in while the bottom of the canvas was not being filled all the time.