add max height to canvas area