fixed a bug when selecting a buffer in a different view not resulting in a bufferswitch