Don't create a subbitmap of size 0
Merge pull request #557 from egbertbouman/grid_fix

Don't create a subbitmap of size 0