Making background image resolution independent