Sketch lines edges crossing through objects

I have set a nice edge style of sketch lines for my project but if I have two objects crossing each other the sketch line edges of the object behind are seen through the object in front instead of hidden behind it as they should be. Any ideas how to fix this?

Can you post an example? Are you sure that one object is beyond the other?
Have you made you own linestyle?