Fixes for map sizes that are not divisible by 16. Blocks will now be drawn.