core: drop unused IsPresentFrame()
renderer: fix race condition in FlipPage