Check whether piece is selected by user before releasing it.