fixed ffox canvas bugs