Replace FB_WIDTH/FB_MAX_HEIGHT