Added support for resizing to darkened area;