My solution was to partially disable hardwareacceleration. I just disabled the hardwareacceleration for the view, where i needed the rounded corners, so the performance of the app doesn't got affected too much.
Hope this helps others, who are forced with the same problem.