Adjusting canvas limits