Solve black dragging piece bug