fix bug: clearing tab selection does not set default image