more fixes for retina support