I seemed to have solved this problem by going to the General Options in CompizConfig Settings Manager, then to the Desktop Size tab and making sure the Horizontal Virtual Size was set to 4 (for cube...