Speedgraph resize fix for linux