Fix error with black areas