Removed superfluous renderPresent call