Fix card going offscreen