I don't know how to search this problem on google so I was hoping you guys could help out.
I have made an eagle part by myself. I have used the top layer for the pads (just click pad and then adjust size) and I used 21 layer for the package width and stuff. Now I also get a clearance under and around the package with the 21 layer. Does anybody know how to fix it? It is quite strange because the bottom ground plane also gets affected by this. See picture: