Fixed previous/next buffer on mac