selection will be removed when you change painting mode