Fix rectangle-drawing bug in older browsers

Older implementations of canvas require positive widths and heights for
fillRect and strokeRect.
Set default colors