Fix problem with layer sizing when scratch pad is smaller than size of the screen.