Fix visual issue on OS X Yosemite