fixed id -> meta
fixed removeElement() strangeness
fixed bug of dragging piece on top of itself