Swap buffer too early