Cut board squares out of texture bitmap more cleverly