Fixed compatibility with Macbook Pro.