fixed some issues with the ICanvas