Fixed save rectangle image for dragdrop

Signed-off-by: Marfyy <martinsafsten@gmail.com>