Take a look at this thread, in particular post #9 This worked for me as I was having a similar issue to you.

https://forums.eagle.ru/showthread.php?t=287604