Input fields, buttons, straight lines render problems

I'm developing a Cordova/Phonegap application and I'm using IonicFramework with it. The problem is that with some devices (like Huawei Ascend y300 and HTC Desire X) I have rendering issues.

Here's an image of it:

enter image description here

As you can see on the image there are random parts displaced. After I navigate from the page with these broken lines and later navigate back to it, it looks fine.

It doesn't matter which page I load first, all of them looks like the picture for the first time. There is nothing special about the buttons or any other element as far as css goes. Its a simple button/input element, with a background color set.

I couldn't find anything on the internet so far that would explain it why it happens and what to do with it.

If anyone has any idea what I should try, I'd be happy to try them! :)