Fixed gui cpu usage osx