fix some bugs with placing zoom window while using stamps or drawing lines