fixed resize and move note bug