I have tested ~mar-kolya/compiz/fix-for-1158267 patched into the current ubuntu compiz source (1:0.9.9~daily13.04.18.1~13.04-0ubuntu1), and can confirm that this fixes the issue.
I have tested ~mar-kolya/ compiz/ fix-for- 1158267 patched into the current ubuntu compiz source (1:0.9. 9~daily13. 04.18.1~ 13.04-0ubuntu1) , and can confirm that this fixes the issue.