Added category for snapshot of UIView