proper handling of borders for blur