Added own width and height to CifCanvas

This fixes a bug where starting the CifCanvas without GUI would raise an
exception, since the CifCanvas used getWidth() and getHeight() for the
image dimensions. Now these are own, independent properties.