Fix bots crash.
Add retina display support.