When using SplitImage, no longer stretch the middle part but repeat the texture.

This only works for Button, EditBox and LoadingBar so far. Slider and Tab will be changed later because the changes will be bigger and harder to do. So keep in mind that for those widgets the middle part
will still be stretched.