bugfix: restore border color AFTER resoring raster