added rectangle indicating area to be zoomed, but sometimes after releasing it, the program doesn't notice