OSX keeps switching to the first space
This seems to be Google Drive-related. The behavior has stopped after quitting Google Drive app (in the taskbar).

If you have the same issue, please also report to the Google Support Forums so Google will know the extent of the issue: http://productforums.google.com/forum/#!category-topic/drive/report-a-problem/sv-ZC0ws3Mw

This is now fixed -
https://productforums.google.com/forum/#!category-topic/drive/report-a-problem/kqdqmoMWtk8