Problem with collision

min width and height are not working