updated preview

Hello!

This is a very small patch I made for #2016 . When the mouse was being dragged while laying tiles in the editor, the preview remained stuck where the dragging began. This fixes the problem, now the preview follows the cursor while dragging.

Hope it works alright! Please tell me if there is any trouble!