When resizing, destroy old buffer after committing the new one

This way, we don't receive an enter, followed by a leave, followed by an
enter when resizing.
Revert "Mark lines with cursor as dirty when moving cursor"

This reverts commit acf64b9f0da02111c4a071fdd6745e84ba21a26e.
Tell compositor about cursor damage