Tileset editor: allow to drag the selected pattern.
Don't allow to create or move a pattern outside the image.
Tileset editor: patterns can now be moved.