To create a pattern from part of the image, make a rectangular selection with Feather set to 0 pixels.
To create a pattern from the entire image, deselect everything.