Fixed issues related to resizing drawnote