(Hopefully) improved fps on Windows.