Fix for flood fill bug: full blocks now written when background and foreground colours match.