Well, it seems like something was not getting properly refresh after my modifications and for quite a while. I had the issue for a while, but now it seems to be fine. It could be related to the frame dimension, but I'm not sure. Sorry for the question that finally got solved by it self!