Updated BorderImageProcessor so that now it can draw shadows as well