Fixed a bug where the new corner radius rendering didn't work as intended on iOS5

On >iOS6 we use the old corner radius implementation (drawRect instead of layer masking)