Fix for scratchpad coming out of boundary - #1859
Corrected spelling of the word 'boundary' in comment
Merge pull request #2157 from heidimason/scratchpad-boundary-fix

Scratchpad boundary fix