Erase border that appears with TMP (#528)