Selected class border fix.