Removed canvas related ifdefs.

This is no longer necessary with the release of omnetpp 4.5.