Change bug when canvas wasn't visible + add windows missed functions