fixing bugs on retina displays