Fix rectangle question generation