Added implementation of drawRoundRect