[frontend] Optimize size of the background image.