Remove unneeded black borders