canvas bounds reduced to optimize rendering performance