Fixes #145: on iOS5 view does not have rounded corners when using pattern image as background color